package com.zhitan.ems.enums;

/**
 * 统计类型枚举
 */
public enum StatType {
    AVG("平均值","mean"),
    MIN("最小值","min"),
    MAX("最大值","max"),
    SUM("总和","sum"),
    COUNT("计数","count"),
    FIRST("第一个值","first"),
    LAST("最后一个值","last");

    private final String description;
    private final String code;

    StatType(String description,String code) {
        this.description = description;
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

	public String getCode() {
		return code;
	}
}